<?php /* Smarty version Smarty-3.1.12, created on 2013-02-13 00:48:58
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/prototypes/medalIcon.tpl" */ ?>
<?php /*%%SmartyHeaderCode:632019805511aceec9cda44-97608933%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6f76c5eba1b07d4c69830520d193875af9cee07d' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/prototypes/medalIcon.tpl',
      1 => 1360712931,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '632019805511aceec9cda44-97608933',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_511aceeca28eb4_51941114',
  'variables' => 
  array (
    'elo' => 0,
    'type' => 0,
    'ranking' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_511aceeca28eb4_51941114')) {function content_511aceeca28eb4_51941114($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['elo']->value>@DIAMONDELO){?>
<?php $_smarty_tpl->tpl_vars["type"] = new Smarty_variable("diamond", null, 0);?>
<?php $_smarty_tpl->tpl_vars["ranking"] = new Smarty_variable("Diamond", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['elo']->value>=@GOLDELO&&$_smarty_tpl->tpl_vars['elo']->value<@DIAMONDELO){?>
<?php $_smarty_tpl->tpl_vars["type"] = new Smarty_variable("gold", null, 0);?>
<?php $_smarty_tpl->tpl_vars["ranking"] = new Smarty_variable("Gold", null, 0);?>
<?php }elseif($_smarty_tpl->tpl_vars['elo']->value>=@SILVERELO&&$_smarty_tpl->tpl_vars['elo']->value<@GOLDELO){?>
<?php $_smarty_tpl->tpl_vars["type"] = new Smarty_variable("silver", null, 0);?>
<?php $_smarty_tpl->tpl_vars["ranking"] = new Smarty_variable("Silver", null, 0);?>
<?php }else{ ?>
<?php $_smarty_tpl->tpl_vars["type"] = new Smarty_variable("bronze", null, 0);?>
<?php $_smarty_tpl->tpl_vars["ranking"] = new Smarty_variable("Bronze", null, 0);?>
<?php }?>
<img src="img/medals/medal-<?php echo $_smarty_tpl->tpl_vars['type']->value;?>
.png" alt="Ranking:<?php echo $_smarty_tpl->tpl_vars['ranking']->value;?>
" class="t" title="Ranking: <?php echo $_smarty_tpl->tpl_vars['ranking']->value;?>
">
<?php }} ?>